package com.quanyan.place.entity;

import com.quanyan.common.Plugin.Page;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class TbBizPlaceGoodsInputInventoryExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public TbBizPlaceGoodsInputInventoryExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIsNull() {
            addCriterion("place_id is null");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIsNotNull() {
            addCriterion("place_id is not null");
            return (Criteria) this;
        }

        public Criteria andPlaceIdEqualTo(Integer value) {
            addCriterion("place_id =", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotEqualTo(Integer value) {
            addCriterion("place_id <>", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdGreaterThan(Integer value) {
            addCriterion("place_id >", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("place_id >=", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdLessThan(Integer value) {
            addCriterion("place_id <", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdLessThanOrEqualTo(Integer value) {
            addCriterion("place_id <=", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIn(List<Integer> values) {
            addCriterion("place_id in", values, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotIn(List<Integer> values) {
            addCriterion("place_id not in", values, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdBetween(Integer value1, Integer value2) {
            addCriterion("place_id between", value1, value2, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotBetween(Integer value1, Integer value2) {
            addCriterion("place_id not between", value1, value2, "placeId");
            return (Criteria) this;
        }

        public Criteria andInputInventoryNumIsNull() {
            addCriterion("input_inventory_num is null");
            return (Criteria) this;
        }

        public Criteria andInputInventoryNumIsNotNull() {
            addCriterion("input_inventory_num is not null");
            return (Criteria) this;
        }

        public Criteria andInputInventoryNumEqualTo(String value) {
            addCriterion("input_inventory_num =", value, "inputInventoryNum");
            return (Criteria) this;
        }

        public Criteria andInputInventoryNumNotEqualTo(String value) {
            addCriterion("input_inventory_num <>", value, "inputInventoryNum");
            return (Criteria) this;
        }

        public Criteria andInputInventoryNumGreaterThan(String value) {
            addCriterion("input_inventory_num >", value, "inputInventoryNum");
            return (Criteria) this;
        }

        public Criteria andInputInventoryNumGreaterThanOrEqualTo(String value) {
            addCriterion("input_inventory_num >=", value, "inputInventoryNum");
            return (Criteria) this;
        }

        public Criteria andInputInventoryNumLessThan(String value) {
            addCriterion("input_inventory_num <", value, "inputInventoryNum");
            return (Criteria) this;
        }

        public Criteria andInputInventoryNumLessThanOrEqualTo(String value) {
            addCriterion("input_inventory_num <=", value, "inputInventoryNum");
            return (Criteria) this;
        }

        public Criteria andInputInventoryNumLike(String value) {
            addCriterion("input_inventory_num like", value, "inputInventoryNum");
            return (Criteria) this;
        }

        public Criteria andInputInventoryNumNotLike(String value) {
            addCriterion("input_inventory_num not like", value, "inputInventoryNum");
            return (Criteria) this;
        }

        public Criteria andInputInventoryNumIn(List<String> values) {
            addCriterion("input_inventory_num in", values, "inputInventoryNum");
            return (Criteria) this;
        }

        public Criteria andInputInventoryNumNotIn(List<String> values) {
            addCriterion("input_inventory_num not in", values, "inputInventoryNum");
            return (Criteria) this;
        }

        public Criteria andInputInventoryNumBetween(String value1, String value2) {
            addCriterion("input_inventory_num between", value1, value2, "inputInventoryNum");
            return (Criteria) this;
        }

        public Criteria andInputInventoryNumNotBetween(String value1, String value2) {
            addCriterion("input_inventory_num not between", value1, value2, "inputInventoryNum");
            return (Criteria) this;
        }

        public Criteria andCostTotalPriceIsNull() {
            addCriterion("cost_total_price is null");
            return (Criteria) this;
        }

        public Criteria andCostTotalPriceIsNotNull() {
            addCriterion("cost_total_price is not null");
            return (Criteria) this;
        }

        public Criteria andCostTotalPriceEqualTo(BigDecimal value) {
            addCriterion("cost_total_price =", value, "costTotalPrice");
            return (Criteria) this;
        }

        public Criteria andCostTotalPriceNotEqualTo(BigDecimal value) {
            addCriterion("cost_total_price <>", value, "costTotalPrice");
            return (Criteria) this;
        }

        public Criteria andCostTotalPriceGreaterThan(BigDecimal value) {
            addCriterion("cost_total_price >", value, "costTotalPrice");
            return (Criteria) this;
        }

        public Criteria andCostTotalPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("cost_total_price >=", value, "costTotalPrice");
            return (Criteria) this;
        }

        public Criteria andCostTotalPriceLessThan(BigDecimal value) {
            addCriterion("cost_total_price <", value, "costTotalPrice");
            return (Criteria) this;
        }

        public Criteria andCostTotalPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("cost_total_price <=", value, "costTotalPrice");
            return (Criteria) this;
        }

        public Criteria andCostTotalPriceIn(List<BigDecimal> values) {
            addCriterion("cost_total_price in", values, "costTotalPrice");
            return (Criteria) this;
        }

        public Criteria andCostTotalPriceNotIn(List<BigDecimal> values) {
            addCriterion("cost_total_price not in", values, "costTotalPrice");
            return (Criteria) this;
        }

        public Criteria andCostTotalPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("cost_total_price between", value1, value2, "costTotalPrice");
            return (Criteria) this;
        }

        public Criteria andCostTotalPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("cost_total_price not between", value1, value2, "costTotalPrice");
            return (Criteria) this;
        }

        public Criteria andSettleWayIsNull() {
            addCriterion("settle_way is null");
            return (Criteria) this;
        }

        public Criteria andSettleWayIsNotNull() {
            addCriterion("settle_way is not null");
            return (Criteria) this;
        }

        public Criteria andSettleWayEqualTo(String value) {
            addCriterion("settle_way =", value, "settleWay");
            return (Criteria) this;
        }

        public Criteria andSettleWayNotEqualTo(String value) {
            addCriterion("settle_way <>", value, "settleWay");
            return (Criteria) this;
        }

        public Criteria andSettleWayGreaterThan(String value) {
            addCriterion("settle_way >", value, "settleWay");
            return (Criteria) this;
        }

        public Criteria andSettleWayGreaterThanOrEqualTo(String value) {
            addCriterion("settle_way >=", value, "settleWay");
            return (Criteria) this;
        }

        public Criteria andSettleWayLessThan(String value) {
            addCriterion("settle_way <", value, "settleWay");
            return (Criteria) this;
        }

        public Criteria andSettleWayLessThanOrEqualTo(String value) {
            addCriterion("settle_way <=", value, "settleWay");
            return (Criteria) this;
        }

        public Criteria andSettleWayLike(String value) {
            addCriterion("settle_way like", value, "settleWay");
            return (Criteria) this;
        }

        public Criteria andSettleWayNotLike(String value) {
            addCriterion("settle_way not like", value, "settleWay");
            return (Criteria) this;
        }

        public Criteria andSettleWayIn(List<String> values) {
            addCriterion("settle_way in", values, "settleWay");
            return (Criteria) this;
        }

        public Criteria andSettleWayNotIn(List<String> values) {
            addCriterion("settle_way not in", values, "settleWay");
            return (Criteria) this;
        }

        public Criteria andSettleWayBetween(String value1, String value2) {
            addCriterion("settle_way between", value1, value2, "settleWay");
            return (Criteria) this;
        }

        public Criteria andSettleWayNotBetween(String value1, String value2) {
            addCriterion("settle_way not between", value1, value2, "settleWay");
            return (Criteria) this;
        }

        public Criteria andSupplierIdIsNull() {
            addCriterion("supplier_id is null");
            return (Criteria) this;
        }

        public Criteria andSupplierIdIsNotNull() {
            addCriterion("supplier_id is not null");
            return (Criteria) this;
        }

        public Criteria andSupplierIdEqualTo(Integer value) {
            addCriterion("supplier_id =", value, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdNotEqualTo(Integer value) {
            addCriterion("supplier_id <>", value, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdGreaterThan(Integer value) {
            addCriterion("supplier_id >", value, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("supplier_id >=", value, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdLessThan(Integer value) {
            addCriterion("supplier_id <", value, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdLessThanOrEqualTo(Integer value) {
            addCriterion("supplier_id <=", value, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdIn(List<Integer> values) {
            addCriterion("supplier_id in", values, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdNotIn(List<Integer> values) {
            addCriterion("supplier_id not in", values, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdBetween(Integer value1, Integer value2) {
            addCriterion("supplier_id between", value1, value2, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdNotBetween(Integer value1, Integer value2) {
            addCriterion("supplier_id not between", value1, value2, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierNameIsNull() {
            addCriterion("supplier_name is null");
            return (Criteria) this;
        }

        public Criteria andSupplierNameIsNotNull() {
            addCriterion("supplier_name is not null");
            return (Criteria) this;
        }

        public Criteria andSupplierNameEqualTo(String value) {
            addCriterion("supplier_name =", value, "supplierName");
            return (Criteria) this;
        }

        public Criteria andSupplierNameNotEqualTo(String value) {
            addCriterion("supplier_name <>", value, "supplierName");
            return (Criteria) this;
        }

        public Criteria andSupplierNameGreaterThan(String value) {
            addCriterion("supplier_name >", value, "supplierName");
            return (Criteria) this;
        }

        public Criteria andSupplierNameGreaterThanOrEqualTo(String value) {
            addCriterion("supplier_name >=", value, "supplierName");
            return (Criteria) this;
        }

        public Criteria andSupplierNameLessThan(String value) {
            addCriterion("supplier_name <", value, "supplierName");
            return (Criteria) this;
        }

        public Criteria andSupplierNameLessThanOrEqualTo(String value) {
            addCriterion("supplier_name <=", value, "supplierName");
            return (Criteria) this;
        }

        public Criteria andSupplierNameLike(String value) {
            addCriterion("supplier_name like", value, "supplierName");
            return (Criteria) this;
        }

        public Criteria andSupplierNameNotLike(String value) {
            addCriterion("supplier_name not like", value, "supplierName");
            return (Criteria) this;
        }

        public Criteria andSupplierNameIn(List<String> values) {
            addCriterion("supplier_name in", values, "supplierName");
            return (Criteria) this;
        }

        public Criteria andSupplierNameNotIn(List<String> values) {
            addCriterion("supplier_name not in", values, "supplierName");
            return (Criteria) this;
        }

        public Criteria andSupplierNameBetween(String value1, String value2) {
            addCriterion("supplier_name between", value1, value2, "supplierName");
            return (Criteria) this;
        }

        public Criteria andSupplierNameNotBetween(String value1, String value2) {
            addCriterion("supplier_name not between", value1, value2, "supplierName");
            return (Criteria) this;
        }

        public Criteria andInputTimeIsNull() {
            addCriterion("input_time is null");
            return (Criteria) this;
        }

        public Criteria andInputTimeIsNotNull() {
            addCriterion("input_time is not null");
            return (Criteria) this;
        }

        public Criteria andInputTimeEqualTo(Date value) {
            addCriterionForJDBCDate("input_time =", value, "inputTime");
            return (Criteria) this;
        }

        public Criteria andInputTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("input_time <>", value, "inputTime");
            return (Criteria) this;
        }

        public Criteria andInputTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("input_time >", value, "inputTime");
            return (Criteria) this;
        }

        public Criteria andInputTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("input_time >=", value, "inputTime");
            return (Criteria) this;
        }

        public Criteria andInputTimeLessThan(Date value) {
            addCriterionForJDBCDate("input_time <", value, "inputTime");
            return (Criteria) this;
        }

        public Criteria andInputTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("input_time <=", value, "inputTime");
            return (Criteria) this;
        }

        public Criteria andInputTimeIn(List<Date> values) {
            addCriterionForJDBCDate("input_time in", values, "inputTime");
            return (Criteria) this;
        }

        public Criteria andInputTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("input_time not in", values, "inputTime");
            return (Criteria) this;
        }

        public Criteria andInputTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("input_time between", value1, value2, "inputTime");
            return (Criteria) this;
        }

        public Criteria andInputTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("input_time not between", value1, value2, "inputTime");
            return (Criteria) this;
        }

        public Criteria andInputOperatorUidIsNull() {
            addCriterion("input_operator_uid is null");
            return (Criteria) this;
        }

        public Criteria andInputOperatorUidIsNotNull() {
            addCriterion("input_operator_uid is not null");
            return (Criteria) this;
        }

        public Criteria andInputOperatorUidEqualTo(Integer value) {
            addCriterion("input_operator_uid =", value, "inputOperatorUid");
            return (Criteria) this;
        }

        public Criteria andInputOperatorUidNotEqualTo(Integer value) {
            addCriterion("input_operator_uid <>", value, "inputOperatorUid");
            return (Criteria) this;
        }

        public Criteria andInputOperatorUidGreaterThan(Integer value) {
            addCriterion("input_operator_uid >", value, "inputOperatorUid");
            return (Criteria) this;
        }

        public Criteria andInputOperatorUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("input_operator_uid >=", value, "inputOperatorUid");
            return (Criteria) this;
        }

        public Criteria andInputOperatorUidLessThan(Integer value) {
            addCriterion("input_operator_uid <", value, "inputOperatorUid");
            return (Criteria) this;
        }

        public Criteria andInputOperatorUidLessThanOrEqualTo(Integer value) {
            addCriterion("input_operator_uid <=", value, "inputOperatorUid");
            return (Criteria) this;
        }

        public Criteria andInputOperatorUidIn(List<Integer> values) {
            addCriterion("input_operator_uid in", values, "inputOperatorUid");
            return (Criteria) this;
        }

        public Criteria andInputOperatorUidNotIn(List<Integer> values) {
            addCriterion("input_operator_uid not in", values, "inputOperatorUid");
            return (Criteria) this;
        }

        public Criteria andInputOperatorUidBetween(Integer value1, Integer value2) {
            addCriterion("input_operator_uid between", value1, value2, "inputOperatorUid");
            return (Criteria) this;
        }

        public Criteria andInputOperatorUidNotBetween(Integer value1, Integer value2) {
            addCriterion("input_operator_uid not between", value1, value2, "inputOperatorUid");
            return (Criteria) this;
        }

        public Criteria andGoodsBillIsNull() {
            addCriterion("goods_bill is null");
            return (Criteria) this;
        }

        public Criteria andGoodsBillIsNotNull() {
            addCriterion("goods_bill is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsBillEqualTo(String value) {
            addCriterion("goods_bill =", value, "goodsBill");
            return (Criteria) this;
        }

        public Criteria andGoodsBillNotEqualTo(String value) {
            addCriterion("goods_bill <>", value, "goodsBill");
            return (Criteria) this;
        }

        public Criteria andGoodsBillGreaterThan(String value) {
            addCriterion("goods_bill >", value, "goodsBill");
            return (Criteria) this;
        }

        public Criteria andGoodsBillGreaterThanOrEqualTo(String value) {
            addCriterion("goods_bill >=", value, "goodsBill");
            return (Criteria) this;
        }

        public Criteria andGoodsBillLessThan(String value) {
            addCriterion("goods_bill <", value, "goodsBill");
            return (Criteria) this;
        }

        public Criteria andGoodsBillLessThanOrEqualTo(String value) {
            addCriterion("goods_bill <=", value, "goodsBill");
            return (Criteria) this;
        }

        public Criteria andGoodsBillLike(String value) {
            addCriterion("goods_bill like", value, "goodsBill");
            return (Criteria) this;
        }

        public Criteria andGoodsBillNotLike(String value) {
            addCriterion("goods_bill not like", value, "goodsBill");
            return (Criteria) this;
        }

        public Criteria andGoodsBillIn(List<String> values) {
            addCriterion("goods_bill in", values, "goodsBill");
            return (Criteria) this;
        }

        public Criteria andGoodsBillNotIn(List<String> values) {
            addCriterion("goods_bill not in", values, "goodsBill");
            return (Criteria) this;
        }

        public Criteria andGoodsBillBetween(String value1, String value2) {
            addCriterion("goods_bill between", value1, value2, "goodsBill");
            return (Criteria) this;
        }

        public Criteria andGoodsBillNotBetween(String value1, String value2) {
            addCriterion("goods_bill not between", value1, value2, "goodsBill");
            return (Criteria) this;
        }

        public Criteria andPullStorageTimeIsNull() {
            addCriterion("pull_storage_time is null");
            return (Criteria) this;
        }

        public Criteria andPullStorageTimeIsNotNull() {
            addCriterion("pull_storage_time is not null");
            return (Criteria) this;
        }

        public Criteria andPullStorageTimeEqualTo(Date value) {
            addCriterion("pull_storage_time =", value, "pullStorageTime");
            return (Criteria) this;
        }

        public Criteria andPullStorageTimeNotEqualTo(Date value) {
            addCriterion("pull_storage_time <>", value, "pullStorageTime");
            return (Criteria) this;
        }

        public Criteria andPullStorageTimeGreaterThan(Date value) {
            addCriterion("pull_storage_time >", value, "pullStorageTime");
            return (Criteria) this;
        }

        public Criteria andPullStorageTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("pull_storage_time >=", value, "pullStorageTime");
            return (Criteria) this;
        }

        public Criteria andPullStorageTimeLessThan(Date value) {
            addCriterion("pull_storage_time <", value, "pullStorageTime");
            return (Criteria) this;
        }

        public Criteria andPullStorageTimeLessThanOrEqualTo(Date value) {
            addCriterion("pull_storage_time <=", value, "pullStorageTime");
            return (Criteria) this;
        }

        public Criteria andPullStorageTimeIn(List<Date> values) {
            addCriterion("pull_storage_time in", values, "pullStorageTime");
            return (Criteria) this;
        }

        public Criteria andPullStorageTimeNotIn(List<Date> values) {
            addCriterion("pull_storage_time not in", values, "pullStorageTime");
            return (Criteria) this;
        }

        public Criteria andPullStorageTimeBetween(Date value1, Date value2) {
            addCriterion("pull_storage_time between", value1, value2, "pullStorageTime");
            return (Criteria) this;
        }

        public Criteria andPullStorageTimeNotBetween(Date value1, Date value2) {
            addCriterion("pull_storage_time not between", value1, value2, "pullStorageTime");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andBatchRemarkIsNull() {
            addCriterion("batch_remark is null");
            return (Criteria) this;
        }

        public Criteria andBatchRemarkIsNotNull() {
            addCriterion("batch_remark is not null");
            return (Criteria) this;
        }

        public Criteria andBatchRemarkEqualTo(String value) {
            addCriterion("batch_remark =", value, "batchRemark");
            return (Criteria) this;
        }

        public Criteria andBatchRemarkNotEqualTo(String value) {
            addCriterion("batch_remark <>", value, "batchRemark");
            return (Criteria) this;
        }

        public Criteria andBatchRemarkGreaterThan(String value) {
            addCriterion("batch_remark >", value, "batchRemark");
            return (Criteria) this;
        }

        public Criteria andBatchRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("batch_remark >=", value, "batchRemark");
            return (Criteria) this;
        }

        public Criteria andBatchRemarkLessThan(String value) {
            addCriterion("batch_remark <", value, "batchRemark");
            return (Criteria) this;
        }

        public Criteria andBatchRemarkLessThanOrEqualTo(String value) {
            addCriterion("batch_remark <=", value, "batchRemark");
            return (Criteria) this;
        }

        public Criteria andBatchRemarkLike(String value) {
            addCriterion("batch_remark like", value, "batchRemark");
            return (Criteria) this;
        }

        public Criteria andBatchRemarkNotLike(String value) {
            addCriterion("batch_remark not like", value, "batchRemark");
            return (Criteria) this;
        }

        public Criteria andBatchRemarkIn(List<String> values) {
            addCriterion("batch_remark in", values, "batchRemark");
            return (Criteria) this;
        }

        public Criteria andBatchRemarkNotIn(List<String> values) {
            addCriterion("batch_remark not in", values, "batchRemark");
            return (Criteria) this;
        }

        public Criteria andBatchRemarkBetween(String value1, String value2) {
            addCriterion("batch_remark between", value1, value2, "batchRemark");
            return (Criteria) this;
        }

        public Criteria andBatchRemarkNotBetween(String value1, String value2) {
            addCriterion("batch_remark not between", value1, value2, "batchRemark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}